import request from '@/utils/request'

export function checkContactUniqueApi(data) {
  return request({
    url: '/api/customer.contact/unique',
    method: 'post',
    data
  })
}


export function appendContactUniqueApi(data) {
  return request({
    url: "/api/customer.contact/append",
    method: "post",
    data,
  });
}


export function updateContactRoleApi(data) {
  return request({
    url: "/api/customer.contact/updateRole",
    method: "post",
    data,
  });
}